package com.power.project.model.vo;

import com.power.project.model.P_projectuser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.util.List;
import java.util.Map;


@Data
public class ProjectVO {

    private Integer id;

    @Column(nullable = false)
    @ApiModelProperty(value = "项目名称")
    private String projectname;

    @Column(nullable = false)
    @ApiModelProperty(value = "对方单位")
    private String clientcompany;


    @ApiModelProperty(value = "是否结束")
    private Integer finished;

    @ApiModelProperty(value = "管理者实体id")
    private List<String> mgruserIdList;

    @ApiModelProperty(value = "管理者实体")
    private List<UserBaseVO> mgruserList;

    @ApiModelProperty(value = "版本号")
    private Integer version;

    @ApiModelProperty(value = "项目唯一标识")
    private String projectcode;

    @ApiModelProperty(value = "项目关联人员：mgar,user 两类")
    private Map<String,List<P_projectuser>> pUserList;
}
